package com.dutiantech.partfastdfs.config;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

import javax.swing.*;

@Configuration
public class ConfigUtil {
        //@Value("${fdfs.client.conf.group_name}")
        public  String group;

       // @Value("${fdfs.client.conf.path}")
        public  String clientConf;
        @Value("${fdfs.connect_timeout}")
        public  int  connect_timeout = 10;
        @Value("${fdfs.network_timeout}")
        public  int network_timeout = 30;
        @Value("${fdfs.charset}")
        public  String  charset = "UTF-8";
        @Value("${fdfs.http.tracker_http_port}")
        public  int http_tracker_http_port = 9090;
        @Value("${fdfs.http.anti_steal_token}")
        public boolean http_anti_steal_token = false;
        @Value("${fdfs.http.secret_key}")
        public String http_secret_key = "";
        @Value("${fdfs.tracker_server}")
        public String tracker_server = "";
        @Value("${fdfs.client.conf.group_name}")
        public String group_name="group1";

}
